<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>	属性与方法</title>
</head>
<body>
	
</body>
<script src="https://unpkg.com/vue/dist/vue.js"></script>
<script type="text/javascript">
	var data = {a:1}
	var vm = new Vue({
		data: data
	})
	// vm.a = data.a         true
	// vm.a = 2
           // alert(data.a)   data.a -->2
           data.a = 3
           alert(vm.a)  //vm.a-->3
</script>
</html>